<!--
 * @Author: admin@attacker.club
 * @Date: 2022-07-07 20:13:36
 * @LastEditTime: 2022-07-11 00:20:26
 * @Description: 
-->
<template>
  <h2> Layout 布局 </h2>

    <el-row :gutter="20">
      <el-col :span="16">
        <div class="grid-content ep-bg-purple" />
      </el-col>
      <el-col :span="8">
        <div class="grid-content ep-bg-purple" />
      </el-col>
    </el-row>

    <el-row :gutter="20">
      <el-col :span="8">
        <div class="grid-content ep-bg-purple" />
      </el-col>
      <el-col :span="8">
        <div class="grid-content ep-bg-purple" />
      </el-col>
      <el-col :span="4">
        <div class="grid-content ep-bg-purple" />
      </el-col>
      <el-col :span="4">
        <div class="grid-content ep-bg-purple" />
      </el-col>
    </el-row>

    <el-row :gutter="20">
      <el-col :span="4">
        <div class="grid-content ep-bg-purple" />
      </el-col>
      <el-col :span="4">
        <div class="grid-content ep-bg-purple" />
      </el-col>
      <el-col :span="16">
        <div class="grid-content ep-bg-purple" />
      </el-col>
    </el-row>

 
</template>

<script>
export default {
    name: 'vueZ',
  created: function () {
    console.log('created')
  },
  beforeMount: function () {
    console.log(' beforeMount', this.$el)
  },
  mounted: function () {
    console.log('mounted', this.$el)
  },
  beforeUnmount: function () {
    console.log('beforeDestroy')
  },
  unmounted: function () {
    console.log('destroyed')
  }
}
</script>

<style>
.el-row {
  margin-bottom: 20px;
}
.el-row:last-child {
  margin-bottom: 0;
}
.el-col {
  border-radius: 4px;
}

.grid-content {
  border-radius: 4px;
  min-height: 36px;
  background: grey;
}
</style>
